package com.un.ebs.workOrder.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.un.ebs.core.enums.IEnum;
import lombok.Getter;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/2/21 11:21
 */
@Getter
public enum WorkOrderStatusEnum implements IEnum {

    NotAssign(0, "未分配"),
    NotAccept(1, "已分配 -未开始"),
    NotComplete(2, "已开始 - 未完成"),
    NotEvaluate(3, "已完成 - 未确认"),
    Close(4, "已关闭"),
    NotDeinfe(9, "未定义");

    WorkOrderStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @EnumValue
    private final int code;

    private final String desc;
}
